#include <iostream>
#include <vector>
#include "../head/solution.h"

using namespace std;

int main(){
	// int arr[] = {0, 1, 0, 3,13};
	int arr[] = {2, 1, 3, 3,13};
	// 传入数组首尾指针
	vector<int> vec(arr, arr + sizeof(arr) / sizeof(int));

	// Solution().moveZeroes(vec);
	// Solution().moveZeroes2(vec);
	Solution().moveZeroes3(vec);
	// Solution().moveZeroes4(vec);

	for(int i = 0; i < vec.size(); ++i){
		cout << vec[i] << " ";
	}
	cout << endl;
	return 0;
}
